package com.java2207.group1.service;

import com.java2207.group1.bo.OldManBo;
import com.java2207.group1.common.LayuiPageVo;
import com.java2207.group1.pojo.Case;
import com.java2207.group1.pojo.Cases;
import com.java2207.group1.pojo.OldMan;
import com.java2207.group1.vo.oldMan.OldManVo;

import java.util.List;
import java.util.Map;

/**
 * @author HLJ
 * @Date 2022/7/26 07
 */
public interface OldManService {
    LayuiPageVo<OldMan> oldManPageDate(Map<String, Object> params);

    int addOldMan(OldMan oldMan);

    int deleteOldMan(Integer id);

    int updateOldMan(OldMan oldMan);

    int removeOldMan(String ids);


    // 查询各阶段 老人的数据
    List<OldManVo> ageEchartBar();

    LayuiPageVo<Cases> selectCaseHistory();

    List<OldManBo> staffExcelData(Map<String, Object> params);

    OldMan selectOldMan(String tel);
}
